380 PRINT "To return to this menu from a running program, use <F10>. If not in BASICA"
390 PRINT"command level when return is desired, enter Ctrl/Break; then press <F10>.":PRINT R$
400 GOSUB 730
410 KEY 10, "RUN"+CHR$(34)+"IQ"+CHR$(13)
420 COLOR 6,0:PRINT S$:PRINT " a. Enter 1 thru 20 to run the program from the menu -- OR
430 PRINT " b. Enter 96 if entry is to be added, changed or deleted. -- OR
440 PRINT " c. Enter 97 if new menu is to be built -- OR "
450 PRINT " d. Enter 98 if return to BASIC prompt is desired -- OR"
460 PRINT " e. Enter 99 if return to DOS prompt is desired."
470 PRINT S$:COLOR 2,0:INPUT "Which of the listed programs or options do you want" ;S
480 IF S<1 OR (S>20 AND S<96) OR S>99 THEN GOTO 540
490 IF S=96 THEN CLS:PRINT S$:GOSUB 730:GOTO 580
500 IF S=98 THEN GOTO 550
510 IF S=99 THEN GOTO 560
520 IF S=97 GOTO 770
530 IF LEN(A$(S))=0 OR LEN(A$(S))>8 GOTO 540 ELSE CLS:COLOR 7,0:RUN A$(S)
540 CLS:COLOR 20,0:PRINT "Program";S;"**ERROR** (Invalid program name or number) - Check and correct.":COLOR 2,0:PRINT S$:GOTO 380
550 CLS:END 'Here if menu select was 98 - return to BASIC
560 CLS:SYSTEM 'Here if menu select was 99 - return to DOS
570 SYSTEM
580 COLOR 7,0:PRINT S$: INPUT "Enter line number of item to be altered - ",T:IF T>20 THEN GOTO 580
590 DEF SEG=&H40:POKE &H17,PEEK(&H17) OR &H40:DEF SEG 'Caps lock ON
600 PRINT S$:PRINT "Enter program name to be inserted in above line."
610 COLOR 6,0:PRINT "(Press <ENTER> with no program name entered to delete current program.)":COLOR 7,0:PRINT S$:COLOR 2,0:INPUT"",T$:COLOR 7,0:PRINT S$
620 IF LEN(T$)>8 THEN T$="*ENTRY ERROR*"
630 A$(T)=T$
640 PRINT "Any more changes to be made to the menu (Y or N)?"
650 X$=INKEY$: IF X$="" GOTO 650
660 IF X$="y" OR X$="Y" THEN CLS:PRINT S$:GOSUB 730:GOTO 580
670 IF X$="N" OR X$="n" THEN GOTO 680 ELSE GOTO 650
680 GOSUB 690:GOTO 360 ' Go clear the screen.
690 OPEN "IQ.SAV" FOR OUTPUT AS #1
700 FOR I=1 TO 20
710 WRITE #1,A$(I)
720 NEXT I:CLOSE #1:RETURN
730 COLOR 0,7:PRINT "NO. PROGRAM NAME NO. PROGRAM NAME":COLOR 2,0